package com.keba.lamp.complaint.vo.update;

import com.keba.basic.base.entity.SuperEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 诉讼状案件日志表
 * </p>
 *
 * @author chaowu.wang
 * @date 2025-04-20 21:21:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "诉讼状案件日志表")
public class CaseLogUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 乐观锁
     */
    @Schema(description = "乐观锁")
    @NotNull(message = "请填写乐观锁")
    private Integer revision;
    /**
     * 是否删除，0-未删除，1-删除
     */
    @Schema(description = "是否删除，0-未删除，1-删除")
    @NotNull(message = "请填写是否删除，0-未删除，1-删除")
    private Integer isDel;
    /**
     * 租户ID
     */
    @Schema(description = "租户ID")
    private Long tenantId;
    /**
     * 原告
     */
    @Schema(description = "原告")
    @Size(max = 500, message = "原告长度不能超过{max}")
    private String plaintff;
    /**
     * 起诉状内容
     */
    @Schema(description = "起诉状内容")
    @Size(max = 65535, message = "起诉状内容长度不能超过{max}")
    private String complaintContent;
    /**
     * 被告
     */
    @Schema(description = "被告")
    @Size(max = 500, message = "被告长度不能超过{max}")
    private String defendant;
    /**
     * 案件id
     */
    @Schema(description = "案件id")
    private Long caseId;
    /**
     * 状态（0-失败，1-成功）
     */
    @Schema(description = "状态（0-失败，1-成功）")
    private Integer status;


}
